#define  _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>
size_t my_strlen(const char* str)
{
	int count = 0;
	assert(str);
	while (*str)
	{
		count++;
		str++;
	}
	return (size_t)count;
}

int main()
{
	char s[] = "abcdef";
	int ret = my_strlen(s);
	printf("%d", ret);
	return 0;
}